package com.example.mode.factoryMode.abstractFactory;

import com.example.mode.factoryMode.Human;

/**
 * Created with IntelliJ IDEA.
 * User: yf-wenhao
 * Date: 2019/3/26
 * Time: 下午6:01
 */
public class ManFactory implements Factory {
    @Override
    public Human createBlackHuman() {
        return new BlackMan();
    }

    @Override
    public Human createWhileHuman() {
        return new WhileMan();
    }
}
